/**
 *添加区域范围
 */
'use strict';

const conn = require('../../libs/DB/Conn');
const operationRecord = require("../sys/operationRecordAction");

module.exports = async function (params) {
    let updateSql = `UPDATE range_file SET delete_sign = 2 WHERE range_id in (?)`;
    await conn(updateSql, [params.rangeIds]);
    await operationRecord(params);
    return { success: true };
};
